import request from '@/utils/request'

export function fetchGuardPointList(params) {
  return request({ url: '/api/guard/point/list', method: 'get', params })
}
export function addGuardPoint(data) {
  return request({ url: '/api/guard/point/add', method: 'post', data })
}
export function updateGuardPoint(data) {
  return request({ url: '/api/guard/point/update', method: 'post', data })
}
export function deleteGuardPoint(id) {
  return request({ url: '/api/guard/point/delete', method: 'post', data: { id } })
} 